package day_2022_4_to_7.day48;

import java.util.Scanner;

/**
 * @author haomin
 * @date 2022/04/21 08:09
 **/
public class Day4_1_CalculateCandy {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int first = in.nextInt();
        int second = in.nextInt();
        int third = in.nextInt();
        int fourth = in.nextInt();

        int a = (first + third) / 2;
        int b = (second + fourth) / 2;
        int c = fourth - b;

        double a2 = (first + third) / 2.0;
        double b2 = (second + fourth) / 2.0;
        double c2 = fourth - b2;

        if(a == a2 && b == b2 && c == c2 ){
            System.out.printf("%d %d %d",a,b,c);
        }else{
            System.out.println("No");
        }
    }
}
